package ronglei.heima.day01;

import java.util.Scanner;

public class Demo03Switch {
    public static void main(String[] args) {
        int a = 20 ;
        int b = ++a;
        System.out.println(b);
        System.out.println(a);
//        键盘输入
        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        System.out.println(num);

//       循环
        int dd = 1;
        switch (dd){
            case 1:
                System.out.println(dd);
                break;
            case 2:
                System.out.println(dd);
                break;
            default:
                System.out.println(dd);

        }

    }
}
